RT_SECURE_NO_WARNINGS 1

#include <iostream>

using namespace std;

void TestR(int&& val)
{
	val = 100;
	cout << "TestR:" << val << endl;
}

void TestL(int& val)
{
	val = 200;
	cout << "TestL:" << val << endl;
}

int main()
{
	int &&val = 10;
	TestR(std::move(val));
	cout << val << "   R" << endl;
	TestL(val);
	cout << val << "   R" << endl;
	return 0;
}
